import request from '@/utils/request'
 ///drink/drinksource/list
 export function getdrinksourcelist(query) {
  return request({
    url: '/drink/drinksource/list',
    method: 'get',
    params: query
  })
}
// /drink/drinksource/remove/{ids}
export function removedrinksource(ids) {
  return request({
    url: `/drink/drinksource/remove/${ids}`,
    method: 'get',
  })
}

///drink/drinksource/add
// 添加水源地基本信息
export function adddrinksource(data) {
  return request({
    url: '/drink/drinksource/add',
    method: 'post',
    data
  })
}
// 添加水源地基本信息
export function editdrinksource(data) {
  return request({
    url: '/drink/drinksource/edit',
    method: 'post',
    data
  })
}
